package com.blb.community.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 报修信息
 * </p>
 *
 * @author 帅帅
 * @since 2022-07-02
 */
@Data
@TableName("zy_repair")
@ApiModel(value = "ZyRepair对象", description = "报修信息")
public class ZyRepair implements Serializable {

    private static final long serialVersionUID = 1L;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("报修ID")
    @TableId(value = "repair_id", type = IdType.AUTO)
    private Long repairId;

    @ApiModelProperty("报修编号")
    private String repairNum;

    @ApiModelProperty("报修状态")
    private String repairState;

    @ApiModelProperty("派单时间")
    private LocalDateTime assignmentTime;

    @ApiModelProperty("接单时间")
    private LocalDateTime receivingOrdersTime;

    @ApiModelProperty("处理完成时间")
    private LocalDateTime completeTime;

    @ApiModelProperty("取消时间")
    private LocalDateTime cancelTime;

    @ApiModelProperty("期待上门时间")
    private LocalDateTime doorTime;

    @ApiModelProperty("分派人id")
    private Long assignmentId;

    @ApiModelProperty("处理人id")
    private Long completeId;

    @ApiModelProperty("处理人电话")
    private String completePhone;

    @ApiModelProperty("处理人姓名")
    private String completeName;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建者")
    private String createBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新者")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("创建人id")
    private Long userId;

    @ApiModelProperty("删除状态0默认1删除")
    private Integer delFlag;

    @ApiModelProperty("报修内容")
    private String repairContent;

    @ApiModelProperty("小区ID")
    private Long communityId;

    @ApiModelProperty("详细地址")
    private String address;


    private String ownerRealName;

    private String ownerPhoneNumber;

    private Integer nowPage;

    private Integer pageSize;


}
